package com.code.day16DuoXian2.not09;

import java.util.function.Function;

public class not09Function {

    public static void main(String[] args) {
              method( integer-> integer+"",100);
    }
    public static  void method(Function<Integer,String> function ,Integer i){
       String s = function.apply(i);
       System.out.println(s+1);
    }
}
